[XEN] Make the spurious page-fault detection logic
authorkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>
Fri, 16 Jun 2006 17:18:55 +0000 (18:18 +0100)
committerkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>
Fri, 16 Jun 2006 17:18:55 +0000 (18:18 +0100)
commit12794ba7df5ceed2f4ccf2818e44dcaaa78c210e
treee6426015e37bb11ef8eeea349bedd89aee5411c0
parent8d9ab5812ac91acf9c022b31c6bc1602f1dd3f64
[XEN] Make the spurious page-fault detection logic
more robust. In particular it must be able to handle
spurious write faults on mappings that have been
changed from read-only to writable. If a CPU has a stale
read-only entry in its TLB, it is allowed to fault on
the next write access without re-walking the page table.
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/traps.c
xen/arch/x86/x86_32/traps.c
xen/arch/x86/x86_64/traps.c
xen/include/asm-x86/processor.h